/* 
    Author: Mert Nerukuc
    @knyttneve
*/
html, body {
    height: 100%;
    background-color: #eae9e9;
    overflow-x: hidden;
}

.rt-config i {
    font-style: normal;
}

.rt-config ul,.rt-config li {
    margin: 0px;
    padding: 0px;
}

.rt-config {
    width: 100%;
    height: 300px;
    position: absolute;
    right: 0px;
    background-color: #fff;
    top: 0px;
    display: none;
}

.rt-header {
    height: 30px;
    background-color: #F7F7F7;
}

.rt-header .rt-switch {
    width: 30px;
    height: 30px;
    background-color: #4C82B6;
    display: block;
    position: relative;
    float: left;
    transition: transform 1s;
}

.rt-header .rt-switch:after {
    content: "\27A4";
    color: #fff;
    font-size: 18px;
    position: relative;
    cursor: pointer;
    top: 2px;
    left: 6px;
}

.rt-header .rt-switch.off {
    transform: rotate(180deg);
}

.rt-header .rt-title {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.rt-header .rt-button {
    border: none;
    color: #fff;
    background-color: #4C82B6;
    padding: 3px 10px;
    text-align: center;
    border-radius: 5px;
    margin-left: 10px;
}

.rt-body {
    height: 100%;
}

.rt-config i.hidebtn {
    width: 40px;
    height: 40px;
    float: right;
    background: url(../../lib/ztree/css/zTreeStyle/img/my/5.png) no-repeat scroll 0 0 transparent;
    background-position: center;
    cursor: pointer;
    background-color: #edeef0;
}

.colorful-tab-wrapper {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    transition: background .3s ease 0s;
    height: 100%;
}

.colorful-tab-wrapper:before {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    left: 0;
    top: 0;
    content: "";
    box-sizing: border-box;
    overflow: hidden;
    transform: scale(2) rotate(10deg);
    font-size: 50px;
    transition: all .6s ease 0s;
    padding-top: 60px;
    align-items: center;
    justify-content: center;
    color: #000;
}

.colorful-tab-wrapper.active:before {
   /*  content: attr(active-tab); */
    transform: scale(1) rotate(0deg);
    font-family: "Montserrat";
    z-index: 9;
    opacity: 1;
    visibility: visible;
}

.colorful-tab-wrapper.active .colorful-tab-content {
    color: white;
}

.colorful-tab-background-image {
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.colorful-tab-background-image:after {
    transition: .5s ease 0s;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    opacity: 0;
    top: 0;
    background: #000;
}

.colorful-tab-background-image.active {
    background-image: none;
}

.colorful-tab-background-image.active:after {
    width: 100%;
    opacity: .5;
}

.colorful-tab-menu {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    z-index: 99;
    left: 0px;
    top: 0px;
    right: 40px;
    height: 40px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    /* overflow: hidden; */
    background-color: #EDEEF0;
    border-bottom: 1px solid #EDEEF0;
}

.rt-config .colorful-tab-menu-item {
    flex: 0 1 auto;
    align-self: stretch;
    overflow: hidden;
    margin-bottom: -1px;
}

.rt-config .colorful-tab-menu-item.active {
    margin-right: -1px;
    border: 1px solid #edeef0;
    border-bottom: 1px solid #ffffff;
    z-index: 2;
}

.colorful-tab-menu-item a {
    display: block;
    text-decoration: none;
    font-family: "Montserrat";
    color: rgb(0, 0, 0);
    text-align: center;
    width: 120px;
    height: 100%;
    line-height: 40px;
    padding: 0px;
    word-wrap: break-word;
    font-size: 14px;
    transition: background .3s ease 0s, color .3s ease 0s;
    z-index: 2;
}

.colorful-tab-menu-item.active a {
    background: rgb(255, 255, 255);
}

.colorful-tab-menu-item.active:after {
    background: rgb(255, 255, 255);
}

.colorful-tab-menu-item .colorful-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative;
}

.colorful-tab-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    position: absolute;
    right: 0px;
    left: 0px;
    top: 40px;
    border-left: 1px solid #EFEFEF;
    bottom: 0px;
    background-color: #fff;
}

.colorful-tab-content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    color: #000;
    visibility: hidden;
    position: relative;
    z-index: 9;
    font-family: "Questrial";
    font-size: 15px;
    line-height: 28px;
    width: 0;
    letter-spacing: .4px;
    transform: scale(0.9);
    transition: all .3s ease-in;
    filter: blur(2px);
}

.colorful-tab-content.active {
    height: 100%;
    overflow: hidden;
    transition-delay: .7s;
    width: auto;
    opacity: 1;
    filter: blur(0);
    visibility: visible;
    transform: scale(1);
}

.colorful-tab-wrapper.elliptic {
    border-radius: 10px;
    padding: 0;
}

.colorful-tab-wrapper.elliptic:before {
    padding-top: 55px;
}

.colorful-tab-wrapper.elliptic .colorful-tab-menu {
    margin: 0;
}

.colorful-tab-wrapper.elliptic .colorful-tab-container {
    padding: 20px;
    box-sizing: border-box;
}

.colorful-tab-wrapper.flatline {
    padding: 10px 20px 20px 20px;
}

.colorful-tab-wrapper.flatline:before {
    padding-top: 55px;
}

.colorful-tab-wrapper.flatline .colorful-tab-menu {
    background: none;
    margin-bottom: 15px;
    box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.2) inset;
}

.colorful-tab-wrapper.flatline .colorful-tab-menu-item a {
    transition: box-shadow .3s ease 0s, opacity .3s ease 0s;
    opacity: .5;
}

.colorful-tab-wrapper.flatline .colorful-tab-menu-item.active a {
    background: none;
    opacity: 1;
    box-shadow: 0 -2px 0 #fff inset;
}

@media (max-width: 767px) {
    .colorful-tab-menu {
        flex-direction: column;
    }
}
